From 17e219fbce77ac6efba4764a8b06a9cd9bf70793 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 20 Jun 2011 00:03:53 -0400 Subject: [PATCH] Remove debug spew --- gtk/gtkswitch.c | 3 - tests/a11y/Makefile.am | 3 +- tests/a11y/buttons.txt | 124 +++++++++++++++++++++++++++++++++++++++++ tests/a11y/buttons.ui | 78 ++++++++++++++++++++++++++ 4 files changed, 204 insertions(+), 4 deletions(-) create mode 100644 tests/a11y/buttons.txt create mode 100644 tests/a11y/buttons.ui diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c index 6b8ed7845b..ae5f68e7b9 100644 --- a/gtk/gtkswitch.c +++ b/gtk/gtkswitch.c @@ -1087,7 +1087,6 @@ _gtk_switch_accessible_init (GtkSwitchAccessible *self) { self->description = NULL; self->action_idle = 0; -g_print ("switch action description inited to: %s\n", self->description); } /* accessibility: action interface */ @@ -1111,7 +1110,6 @@ gtk_switch_action_get_description (AtkAction *action, { GtkSwitchAccessible *accessible = (GtkSwitchAccessible *)action; -g_print ("switch action description: %s\n", accessible->description); return accessible->description; } @@ -1122,7 +1120,6 @@ gtk_switch_action_set_description (AtkAction *action, { GtkSwitchAccessible *accessible = (GtkSwitchAccessible*)action; -g_print ("switch action set description: %s\n", description); g_free (accessible->description); accessible->description = g_strdup (description); diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am index 38c5dc1359..57522293d7 100644 --- a/tests/a11y/Makefile.am +++ b/tests/a11y/Makefile.am @@ -29,4 +29,5 @@ EXTRA_DIST += \ range.ui range.txt \ link.ui link.txt \ text.ui text.txt \ - tree.ui tree.txt + tree.ui tree.txt \ + buttons.ui buttions.txt diff --git a/tests/a11y/buttons.txt b/tests/a11y/buttons.txt new file mode 100644 index 0000000000..cf206cd0a2 --- /dev/null +++ b/tests/a11y/buttons.txt @@ -0,0 +1,124 @@ +switch action description inited to: (null) +switch action description: (null) +window1 + "window" + index: 0 + state: enabled resizable sensitive showing visible + toolkit: gail + + layer: window + alpha: 1 + grid1 + "panel" + parent: window1 + index: 0 + state: enabled horizontal sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + button5 + "toggle button" + parent: grid1 + index: 0 + name: Switch + description: Switches between on and off states + state: checked enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + action 0 name: toggle + button4 + "radio button" + parent: grid1 + index: 1 + name: Hello World! + member-of: button4 + button3 + state: enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Hello World! + character count: 12 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + button3 + "radio button" + parent: grid1 + index: 2 + name: Hello World! + member-of: button4 + button3 + state: armed checked enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Hello World! + character count: 12 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + button2 + "check box" + parent: grid1 + index: 3 + name: Hello World! + state: enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Hello World! + character count: 12 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + button1 + "toggle button" + parent: grid1 + index: 4 + name: Hello World! + state: armed checked enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Hello World! + character count: 12 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release diff --git a/tests/a11y/buttons.ui b/tests/a11y/buttons.ui new file mode 100644 index 0000000000..88cbc0db6f --- /dev/null +++ b/tests/a11y/buttons.ui @@ -0,0 +1,78 @@ + + + + + False + popup + + + True + + + Hello World! + True + True + True + True + + + 0 + 0 + + + + + Hello World! + True + False + True + True + + + 1 + 0 + + + + + Hello World! + True + False + True + True + + + 2 + 0 + + + + + Hello World! + True + True + button3 + True + True + + + 3 + 0 + + + + + True + True + True + True + + + 4 + 0 + + + + + + -- 2.30.2